package com.msf.common.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 登录表单
 */
@Data
@ApiModel(value="登录对象", description="登录对象")
public class LoginModel {
    @ApiModelProperty(value = "账号id")
    private String id;
	@ApiModelProperty(value = "账号")
    private String username;
    @ApiModelProperty(value = "姓名")
    private String realname;
	@ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "部门编码")
    private String orgCode;
	@ApiModelProperty(value = "验证码")
    private String captcha; 
	@ApiModelProperty(value = "验证码key")
    private String checkKey;

    @Override
    public String toString() {
        return "LoginModel{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", captcha='" + captcha + '\'' +
                ", checkKey='" + checkKey + '\'' +
                '}';
    }
}